package com.engine4cloud.tdf.supervision.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "校验定位越界-请求对象")
public class LocVerifyQueryDTO {

    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号", example = "4600002024100001")
    @NotBlank(message = "矫正对象编号不能为空")
    private String rybh;

    /**
     * 矫正对象部门id
     */
    @Schema(description = "矫正对象部门id", example = "275")
    @NotNull(message = "矫正对象部门id不能为空")
    private Long deptId;

    /**
     * 经度
     */
    @Schema(description = "经度", example = "108.939645")
    @NotNull(message = "经度不能为空")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @Schema(description = "纬度", example = "34.343207")
    @NotNull(message = "纬度不能为空")
    private BigDecimal latitude;

    /**
     * 定位时间
     */
    @Schema(description = "定位时间", example = "2024-10-16 02:40:27")
    @NotNull(message = "定位时间不能为空")
    private LocalDateTime locTime;

    /**
     * 定位地址
     */
    @Schema(description = "定位地址", example = "**省**市**县**街道**号")
    private String signAddress;
}
